<#include "/public/secfield.html">
<div class="box ukefu-console" style="padding-top:0px !important;">
	<div class="ukefu-softphone-tag">
		<#if contacts?? && contacts.ctype?? && contacts.ctype=='customer'>
		<i class="ukewo-btn ukefu-softphone-btn ukefu-bg-color-green" title="客户">客</i>
		<#else>
		<i class="ukewo-btn ukefu-softphone-btn ukefu-bg-color-green" title="联系人">联</i>
		</#if>
	</div>
	<div class="ukefu-user-index">
		<h1 style="font-size: 18px;">
		  	${contacts.name!''}
		</h1>
		<div class="ukefu-text-muted">
		获得时间：<#if contacts?? && contacts.touchtime??>${contacts.touchtime?string('yyyy-MM-dd')}</#if>
		</div>
	</div>
</div>
<div class="box ukefu-console">
	<div class="ukefu-relation">
		<span lay-event="" class="ukefu-relation-item">通话<a class="measure"><#if statusEventHisList??>${statusEventHisList.totalElements}<#else>0</#if> </a>
		</span> 
		<span lay-event="" class="ukefu-relation-item">会话<a class="measure"> <#if agentServiceList??>${agentServiceList.totalElements}<#else>0</#if> </a>
		</span> 
		<span lay-event="" class="ukefu-relation-item">分配<a class="measure"><#if contacts??>${contacts.discount!'0'}</#if></a>
		</span>
	</div>
</div>
<!-- <div class="box ukefu-console">
	<div class="ukefu-relation">
		<span class="ukefu-relation-item" style="width:37%;">
		<span>通话时长
			<a id="scheme_1" href="javacript:void(0);"  onmouseenter="subtips=layer.tips('接通通话总时长', '#scheme_1',{tips:[1,'#ff6700'],time: 30000});" onmouseleave="layer.close(subtips);" >
  				<i class="layui-icon layui-icon-about" style="font-size: 16px;"></i>  
  			</a>
  		</span>
			<a class="measure"><#if contacts?? && contacts.incall??>${(contacts.incall/3600)?floor?string('00')}:${(contacts.incall%3600/60)?floor?string('00')}:${(contacts.incall%60)?floor?string('00')}</#if></a>
		</span> 
		<span class="ukefu-relation-item" style="width:37%;">
			<span>振铃时长
			<a id="scheme_2" href="javacript:void(0);"  onmouseenter="subtips=layer.tips('未接通通话振铃总时长', '#scheme_2',{tips:[1,'#ff6700'],time: 30000});" onmouseleave="layer.close(subtips);" >
  				<i class="layui-icon layui-icon-about" style="font-size: 16px;"></i>  
  			</a>
  		</span>
			<a class="measure"><#if contacts?? && contacts.ringtime??>${(contacts.ringtime/3600)?floor?string('00')}:${(contacts.ringtime%3600/60)?floor?string('00')}:${(contacts.ringtime%60)?floor?string('00')}</#if></a>
		</span> 
	</div>
</div> -->
<!-- <div class="box ukefu-console">
	<div class="ukefu-relation">
		<span class="ukefu-relation-item" style="width:37%;">
			<span>平均通话
				<a id="scheme_3" href="javacript:void(0);"  onmouseenter="subtips=layer.tips('接通通话平均通话时长', '#scheme_3',{tips:[1,'#ff6700'],time: 30000});" onmouseleave="layer.close(subtips);" >
	  				<i class="layui-icon layui-icon-about" style="font-size: 16px;"></i>  
	  			</a>
	  		</span>
			<a class="measure"><#if avgdura??>${(avgdura/3600)?floor?string('00')}:${(avgdura%3600/60)?floor?string('00')}:${(avgdura%60)?floor?string('00')}</#if></a>
		</span> 
		<span class="ukefu-relation-item" style="width:37%;">
			<span>平均振铃
				<a id="scheme_4" href="javacript:void(0);"  onmouseenter="subtips=layer.tips('未接通通话平均振铃时长', '#scheme_4',{tips:[1,'#ff6700'],time: 30000});" onmouseleave="layer.close(subtips);" >
	  				<i class="layui-icon layui-icon-about" style="font-size: 16px;"></i>  
	  			</a>
	  		</span>
			<a class="measure"><#if avgring??>${(avgring/3600)?floor?string('00')}:${((avgring%3600)/60)?floor?string('00')}:${(avgring%60)?floor?string('00')}</#if></a>
		</span> 
	</div>
</div> -->